package com.xusheng.cli.service;

import cn.hutool.core.date.DateTime;
import com.xusheng.cli.common.base.MyService;
import com.xusheng.cli.entity.downloadStatisticsModule.DownloadStatistics;

import java.util.List;
import java.util.Map;

/**
 * 下载统计表(DownloadStatistics)表服务接口
 *
 * @author whr
 * @since 2024-06-24 15:21:29
 */
public interface DownloadStatisticsService extends MyService<DownloadStatistics> {
    List<Map<String, Integer>> addrCount(int type, DateTime startTime, DateTime endTime);

    List<Map<String, Integer>> hostCount(int i, DateTime start, DateTime end);
}

